<template>
    <view :style="themeColor">
        <view class="page" >
    <view class="flex benben-position-layout flex flex-wrap align-center messageDetailOne_flex_0"    :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
            <view   class='flex flex-wrap align-center justify-between flex-sub messageDetailOne_fd0_0'      >
            <view   class='flex flex-wrap align-center messageDetailOne_fd0_0_c0'   @tap.stop="handleJumpDiy" data-type="back" data-url="1"   >
        <text class='fu-iconfont2  messageDetailOne_fd0_0_c0_c0'   @tap.stop="handleJumpDiy" data-type="back" data-url="1" >&#xE794;</text>
</view>
<text class='messageDetailOne_fd0_0_c1'  >消息详情</text>
    <view   class='flex flex-wrap align-center messageDetailOne_fd0_0_c0'      >
        </view>
</view>

        </view>
<view :style="{height: (88+StatusBarRpx)+'rpx'}"  ></view>
<!---flex布局flex布局开始-->
 <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout messageDetailOne_flex_1"    >
        <text class='messageDetailOne_fd1_0'  >{{detailsData.title}}</text>
<text class='messageDetailOne_fd1_1'  >{{detailsData.create_time}}</text>
</view>
        
<!---flex布局flex布局结束-->
<!---flex布局flex布局开始-->
 <view class="flex benben-flex-layout flex-wrap align-center messageDetailOne_flex_2"    >
                <jyf-parser class='messageDetailOne_fd2_0'  :html="detailsData.content | richTextFormat"  >
        </jyf-parser>
</view>
        
<!---flex布局flex布局结束-->
    
    
        </view>
    </view>
</template>
<script>
    import {validate} from '@/common/utils/validate.js'
    
    export default {
        components:{},
        
        
        data(){
			return {"detailsData":{"aid":"","title":"","content":"","create_time":""},"id":""};
		},
		computed:{
            themeColor() {
              return this.$store.getters.themeColor
            },
            
		},
		watch:{},
		onLoad(options){
            let {id}=options
if (id !== undefined) this.id = id
this.getDetailsFunc()
		},
        onUnload() {
                
        },
		onReady(){
            
		},
		onShow(){
            
		},
		onHide(){
            
		},
		onResize(){
            
		},
		onPullDownRefresh(){
            
		},
		onReachBottom(e){
            
		},
		onPageScroll(e){
            
		},
		methods:{
                            //获取消息详情
                async getDetailsFunc(){
                        //请求方法
    //数据验证
    
  let datadetailsData = await this.$api.get(global.apiUrls.post63a6b8529a9b8, {
    aid:this.id
  });
  
  if (datadetailsData.data.code != 1) {
    this.$message.info(datadetailsData.data.msg);
    return
  } 
  let infodetailsData = datadetailsData.data;
  this.detailsData = infodetailsData.data
  
                }
		}
    };
</script> 
<style lang="scss" scoped>
           .page{
            width: 100vw;
            overflow-x: hidden;
            min-height: calc(100vh - var(--window-bottom));
            background:rgba(255, 255, 255, 1);background-size: 100% auto;
        }
    .messageDetailOne_flex_0{
        border-bottom:1px solid #eee;background:#fff;width:750rpx;height:88rpx;overflow:hidden;z-index:10;top:0rpx;background-size:100% auto !important;
    }
    .messageDetailOne_fd0_0_c1{
        font-size:36rpx;font-weight:500;color:#333;line-height:50rpx;
    }
    .messageDetailOne_fd0_0_c0_c0{
        font-size:32rpx;font-weight:500;color:#333;
    }
    .messageDetailOne_fd0_0_c0{
        width:120rpx;height:88rpx;
    }
    .messageDetailOne_fd0_0{
        padding:0rpx 32rpx 0rpx 32rpx;height:88rpx;
    }
    .messageDetailOne_flex_1{
        padding:20rpx 32rpx 0rpx 32rpx;
    }
    .messageDetailOne_fd1_1{
        color:#999999;font-size:24rpx;line-height:33rpx;font-weight:400;margin:24rpx 0rpx 24rpx 0rpx;
    }
    .messageDetailOne_fd1_0{
        font-size:40rpx;line-height:56rpx;font-weight:700;color:#333333;
    }
    .messageDetailOne_flex_2{
        padding:0rpx 32rpx 0rpx 32rpx;
    }
    ::v-deep .messageDetailOne_fd2_0{
        width:100%;
    }
</style>